<table>
  <tr>
    <th align="left"><%= get_sort_link "Description", "description" %></th>
    <th align="left" width="100"><%= get_sort_link "Priority", "priority" %></th>
    <th align="right" width="50"></td>
  </tr>
<% for task in @tasks %>
  <!-- <tr><td colspan="5" height="0"><hr></td></tr> -->
  <tr>
    <td><%= link_to task.description, task_path(task) %></td>
    <td><%= task.priority %></td>
    <td align="right"><%= link_to image_tag( "edit.png", :border => 0 ), edit_task_path(task) %> <%= link_to image_tag( "trash.png", :border => 0 ), task, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>
